﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace PM.Extractor
{
    class Program
    {
        static void Main(string[] args)
        {
            DirectoryInfo rootFolder = new DirectoryInfo(System.Configuration.ConfigurationSettings.AppSettings["rootFolder"]);

            if (!rootFolder.Exists)
            {
                return;
            }

            Extractor extractor = new Extractor(rootFolder);

            extractor.GetAllCompressedFiles();
            extractor.ExtractCompressFiles();
        }
    }
}
